var empty_object = {};

var stooge = {

  "first-name": "Jerome",

  "last-name": "Howard"
};

var flight = {

  airline: "Oceanic",

  departure:{
    IATA: "SYD",
    time:"2004",
    city: "sydney"
  },

  arrival:{
    IATA:"LAX",
    time:"2005",
    city:"LA"
  }
};

document.write( stooge["first-name"] );
document.write( flight.departure.IATA );
document.write( stooge["unko"] + "\n" );

var middle = stooge["middle-name"] || "(none)";
document.write( middle + "\n" );

//プロトタイプ
if( typeof Object.create !== "function"){
  Object.create = function( o ) {

    var F = function(){};
    F.prototype = o;
    return new F();
  };
  
}
